Skip to main content

Genetic Neural Network Flappy Bird

I developed a genetic algorithm that improves a neural network through out iterations. Like every evolution algorithm, it has three main events: reprodution, mutation, and death. So in each of this events, the weights of a neural network that controlls the behaviour of the Flappy Bird might change.

This makes it that the birds become smarter overall through out time. In the demo above you can see how they compete in each iteration and they progressively improve together.

Screenshot of learning simulation
Screenshot from Youtube video. Here you can see multiple birds competing and learning

Afonso Raposo
Author
Afonso Raposo
Based in Lisbon, Portugal. I’m a Biomedical Engineer converted to Software Engineer. I love learning new things and tinkering with technology. I have 2 cats 😸😸 ENFP-A